package com.whfc.emp.event;

import com.whfc.emp.entity.AppDeviceCardData;
import org.springframework.context.ApplicationEvent;

/**
 * @Description:
 * @author: xugcheng
 * @version: 1.0
 * @date: 2021-07-30 16:54
 */
public class HelmetSyncEvent extends ApplicationEvent {

    /**
     * 项目ID
     */
    private Integer deptId;

    /**
     * 安全帽数据
     */
    private AppDeviceCardData data;

    public HelmetSyncEvent(Integer deptId, AppDeviceCardData data) {
        super(deptId);
        this.deptId = deptId;
        this.data = data;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public AppDeviceCardData getData() {
        return data;
    }
}
